banner.clutter_text.line_wrap = true;
let warningBanner = new St.Label({
- text: _('Force stopping will quit any running apps and processes, and could result in data loss.'),
+ text: _('Force stopping will quit any running apps and processes, and could result in data loss'),
style_class: 'conflicting-session-dialog-desc-warning',
});
warningBanner.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
if (flags & NM.SecretAgentGetSecretsFlags.WPS_PBC_ACTIVE) {
let descriptionLabel = new St.Label({
- text: _('Alternatively you can connect by pushing the “WPS” button on your router.'),
+ text: _('Alternatively you can connect by pushing the “WPS” button on your router'),
style_class: 'message-dialog-description',
});
descriptionLabel.clutter_text.line_wrap = true;
wirelessSetting = this._connection.get_setting_wireless();
ssid = NM.utils_ssid_to_utf8(wirelessSetting.get_ssid().get_data());
content.title = _('Authentication required');
- content.message = _('Passwords or encryption keys are required to access the wireless network “%s”.').format(ssid);
+ content.message = _('Passwords or encryption keys are required to access the wireless network “%s”').format(ssid);
this._getWirelessSecrets(content.secrets, wirelessSetting);
break;
case '802-3-ethernet':
case 'cdma':
case 'bluetooth':
content.title = _('Authentication required');
- content.message = _('A password is required to connect to “%s”.').format(connectionSetting.get_id());
+ content.message = _('A password is required to connect to “%s”').format(connectionSetting.get_id());
this._getMobileSecrets(content.secrets, connectionType);
break;
default:
let wirelessSetting = connection.get_setting_wireless();
let ssid = NM.utils_ssid_to_utf8(wirelessSetting.get_ssid().get_data());
title = _('Authentication required');
- body = _('Passwords or encryption keys are required to access the wireless network “%s”.').format(ssid);
+ body = _('Passwords or encryption keys are required to access the wireless network “%s”').format(ssid);
break;
}
case '802-3-ethernet':
title = _('Wired 802.1X authentication');
- body = _('A password is required to connect to “%s”.').format(connection.get_id());
+ body = _('A password is required to connect to “%s”').format(connection.get_id());
break;
case 'pppoe':
title = _('DSL authentication');
- body = _('A password is required to connect to “%s”.').format(connection.get_id());
+ body = _('A password is required to connect to “%s”').format(connection.get_id());
break;
case 'gsm':
if (hints.includes('pin')) {
case 'cdma':
case 'bluetooth':
title = _('Authentication required');
- body = _('A password is required to connect to “%s”.').format(connectionSetting.get_id());
+ body = _('A password is required to connect to “%s”').format(connectionSetting.get_id());
break;
case 'vpn':
title = _('VPN password');
- body = _('A password is required to connect to “%s”.').format(connectionSetting.get_id());
+ body = _('A password is required to connect to “%s”').format(connectionSetting.get_id());
break;
default:
log(`Invalid connection type: ${connectionType}`);
subject: C_('title', 'Log Out'),
descriptionWithUser(user, seconds) {
return ngettext(
- '%s will be logged out automatically in %d second.',
- '%s will be logged out automatically in %d seconds.',
+ '%s will be logged out automatically in %d second',
+ '%s will be logged out automatically in %d seconds',
seconds).format(user, seconds);
},
description(seconds) {
return ngettext(
- 'You will be logged out automatically in %d second.',
- 'You will be logged out automatically in %d seconds.',
+ 'You will be logged out automatically in %d second',
+ 'You will be logged out automatically in %d seconds',
seconds).format(seconds);
},
showBatteryWarning: false,
subjectWithUpdates: C_('title', 'Install Updates & Power Off'),
description(seconds) {
return ngettext(
- 'The system will power off automatically in %d second.',
- 'The system will power off automatically in %d seconds.',
+ 'The system will power off automatically in %d second',
+ 'The system will power off automatically in %d seconds',
seconds).format(seconds);
},
checkBoxText: C_('checkbox', 'Install pending software updates'),
subjectWithUpdates: C_('title', 'Install Updates & Restart'),
description(seconds) {
return ngettext(
- 'The system will restart automatically in %d second.',
- 'The system will restart automatically in %d seconds.',
+ 'The system will restart automatically in %d second',
+ 'The system will restart automatically in %d seconds',
seconds).format(seconds);
},
checkBoxText: C_('checkbox', 'Install pending software updates'),
subject: C_('title', 'Restart & Install Updates'),
description(seconds) {
return ngettext(
- 'The system will automatically restart and install updates in %d second.',
- 'The system will automatically restart and install updates in %d seconds.',
+ 'The system will automatically restart and install updates in %d second',
+ 'The system will automatically restart and install updates in %d seconds',
seconds).format(seconds);
},
showBatteryWarning: true,
this._batteryWarning = new St.Label({
style_class: 'end-session-dialog-battery-warning',
- text: _('Low battery power: please plug in before installing updates.'),
+ text: _('Low battery power: please plug in before installing updates'),
});
this._batteryWarning.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
this._batteryWarning.clutter_text.line_wrap = true;
const notification = new MessageTray.Notification({
source,
title: _('Extension Updates Available'),
- body: _('Extension updates are ready to be installed.'),
+ body: _('Extension updates are ready to be installed'),
});
notification.connect('activated',
() => source.open());
if (restoreAccel) {
let restoreLabel = new St.Label({
/* Translators: %s is a keyboard shortcut like "Super+x" */
- text: _('You can restore shortcuts by pressing %s.').format(restoreAccel),
+ text: _('You can restore shortcuts by pressing %s').format(restoreAccel),
style_class: 'message-dialog-description',
});
restoreLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
errorDisplay.add_child(new St.Label({text: errors[i]}));
} else {
/* Translators: argument is an extension UUID. */
- let message = _('%s has not emitted any errors.').format(extension.uuid);
+ let message = _('%s has not emitted any errors').format(extension.uuid);
errorDisplay.add_child(new St.Label({text: message}));
}
notify(
_('Screen Lock disabled'),
- _('Screen Locking requires the GNOME display manager.'));
+ _('Screen Locking requires the GNOME display manager'));
}
}
if (this.searchInProgress)
this._statusText.set_text(_('Searching…'));
else
- this._statusText.set_text(_('No results.'));
+ this._statusText.set_text(_('No results'));
}
}
...params,
});
- this.text = _('Caps lock is on.');
+ this.text = _('Caps lock is on');
this.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
this.clutter_text.line_wrap = true;
if (disksApp) {
this._keyfilesLabel.clutter_text.set_markup(
/* Translators: %s is the Disks application */
- _('To unlock a volume that uses keyfiles, use the <i>%s</i> utility instead.')
+ _('To unlock a volume that uses keyfiles, use the <i>%s</i> utility instead')
.format(disksApp.get_name()));
} else {
this._keyfilesLabel.clutter_text.set_markup(
- _('You need an external utility like <i>Disks</i> to unlock a volume that uses keyfiles.'));
+ _('You need an external utility like <i>Disks</i> to unlock a volume that uses keyfiles'));
}
this._keyfilesLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
this._keyfilesLabel.clutter_text.line_wrap = true;
if (isNaN(pim)) {
this._pimEntry.set_text('');
- this._errorMessageLabel.text = _('The PIM must be a number or empty.');
+ this._errorMessageLabel.text = _('The PIM must be a number or empty');
this._errorMessageLabel.opacity = 255;
return;
}
content.add_child(reasonLabel);
let infoLabel = new St.Label({
- text: _('Location access can be changed at any time from the privacy settings.'),
+ text: _('Location access can be changed at any time from the privacy settings'),
style_class: 'message-dialog-description',
});
content.add_child(infoLabel);
this._notify(title, body);
} else {
const title = _('Unauthorized Thunderbolt device');
- const body = _('New device has been detected and needs to be authorized by an administrator.');
+ const body = _('New device has been detected and needs to be authorized by an administrator');
this._notify(title, body);
}
}
_buildLayout() {
const title = _('Welcome to %s').format(this._getOSName());
- const description = _('If you want to learn your way around, check out the tour.');
+ const description = _('If you want to learn your way around, check out the tour');
const content = new Dialog.MessageDialogContent({title, description});
const icon = new St.Widget({style_class: 'welcome-dialog-image'});
/* Do the passwords match? */
if (!g_str_equal (password, confirm))
{
- gcr_prompt_set_warning (GCR_PROMPT (self), _("Passwords do not match."));
+ gcr_prompt_set_warning (GCR_PROMPT (self), _("Passwords do not match"));
return FALSE;
}